home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 September / macformat-004.iso / Shareware City / Graphics / VideoToolbox ƒ / Changes < prev    next >
Encoding:
Text File  |  1994-07-07  |  7.2 KB  |  60 lines  |  [TEXT/ttxt]

  1. VideoToolbox: Changes
  2. June 23, 1994
  3.  
  4. CHANGES DURING 6/94
  5. •The "demos" folder now has "noFPU" versions of all projects that formerly used the 68881 chip, for compatibility with a wider range of Macs, especially the Power Macs.
  6. •"Read me" gives advice on using CopyBits and BlockMoveData.
  7. •MaximizeConsoleHeight.c's documentation now acknowledges a limitation under 1-bit QuickDraw.
  8. •PrintfGWorld.c now calls SetGDevice(GetMainDevice()) before calling printf, since attempts to write to the console fail unless the main device is the current device. 
  9. •Assign.c has an enhanced error message to reveal any spurious nonprinting characters in offending text.
  10. •Added "Multisync Sense Pins.note" by  Philipp Biermann.
  11. •TimeVideo 3.0.1 adds to the SimpleText "TimeVideo results" document a 'styl' resource specifying Monaco font .
  12. •Fixed bug that crashed ConvolveX.c, CopyBitsQuickly.c, CopyBitsQuicklyOld.c, PixMapToPostScript.c,  SetEntriesQuickly.c, SetOnePixel.c, and SetPixelsQuickly.c    (and thus TimeVideo 2.5.6) when accessing a 32-bit address on a Mac whose ROMs were not 32-bit clean. For example, this made TimeVideo crash when testing a RasterOps 24 L Video in a Mac IIx. It hadn't occurred to me that gestalt32BitCapable would return false on Macs with dirty ROMs even when the SwapMMUMode trap is available. The appropriate test is TrapAvailable(_SwapMMUMode). (Thanks to Margaret Bradley <BRADLEY@nervm.nerdc.ufl.edu> and Debbie Moore for the crash reports.)
  13. •Zoom.c now accepts a further argument, a pointer to the event record, which previously was accessed as a global variable. This will require changes to all programs that call Zoom().
  14. •In the interest of portability, I've standardized on the names "c2pstr and p2cstr" because they're defined in Apple's Strings.h (rather than Symantec's pascal.h) and they're available in MacTraps (rather than MacTraps2), unlike the variously named alternatives: C2PStr, CtoPStr, P2CStr, and PtoCStr. 
  15. •GDOpenWindow.c: In response to a query by David Brainard I now document the obscure fact that GDOpenWindow's frame (not content) will overlap onto other screens that are contiguous parts of the desktop.
  16. • AddExplicitPalette() now also calls the new VideoToolbox routine MakeColorTableExplicit(). This will tell CopyBits to faithfully copy
  17. your pixels as numbers, without color translation, when you copy from your window.  As a result you will now often be able to use CopyBits, with all its power, instead of my dumber substitute called CopyBitsQuickly.
  18. •So that all users might freely use Apple's new BlockMoveData (see "Read Me"),
  19. VideoToolbox.h now declares it, if necessary, which provides compatibility with Apple's old pre-Universal header files.
  20. •Added support for BlockMoveData to CopyBitsQuickly.c, but limited testing indicates no speed advantage, even on a Power Mac, so the new code is disabled.
  21. •Added new transfer mode to CopyBitsQuickly.c that accepts any pixel size: addOverQuickly adds the source to the destination, four bytes at a time. This gives maximum speed for cases in which you know overflow won't happen. Overflow may carry over into neighboring pixels within the image.
  22. •Rewrote most of CopyBitsQuickly.c, replacing all assembly by portable C code of similar speed. (Just in case, the old tried-and-true CopyBitsQuicklyOld.c is supplied as well.)
  23.  
  24. CHANGES DURING 5/94
  25. •Art Wixson says the ISR Video Attenuators are once again in stock. See the "Video Attenuator" document.
  26. •TimeCPU now includes timing for BlockMove() and BlockMoveData().
  27. •Made entire VideoToolbox compatible with Apple's Universal Headers. Renamed "DateString" to "DatedString", and "StringToDate" to "StringToDateAndSecs",  to avoid conflict with Apple's Universal Headers. Made minor changes to CalibrateLuminance.c, FlushCacheRange.c, GDTime.c, PlotXY.c, SetMouse.c, SndPlay1.c,  Timer.c, and VBLInstall.c for compatibility with Apple's Universal Headers. (A bit more work may be required before these routines can be compiled to run native on the PowerPC.)  Thanks to Bob Dougherty (wolfgang@cats.ucsc.edu) for reporting the incompatibility.
  28. •To enhance compatibility with PowerPC, eliminated the use of low-memory globals in CopyQuickDrawGlobals.c, Sandstorm.c, and Zoom.c.
  29. •Added Nan.c which defines a pre-computed global double called "Nan" that contains the value 0.0/0.0.
  30.  
  31. CHANGES DURING 4/94:
  32. •Added THINK C 7 projects.
  33. •Added GetRectDevice() to GetScreenDevice.c.
  34. •Enhanced SetPixelsQuickly.c to not flush its cache when writing to the main screen. In response to query by David Brainard.
  35.  
  36. CHANGES DURING 3/94:
  37. •Added ATMInterface.c and ATMInterface.h from Adobe Systems Inc., allowing direct access to Adobe Type Manager for special effects.
  38. •In Normal.c, added BoundedNormalIntegers(distribution,n,mean,sd,min,max), which fills the "distribution" array with n ordered integers so that random samples from the array, i=distribution[nrand(n)], will be samples from a bounded normal distribution.
  39. •In nrand.c, replaced all three routines (nrand, nrandU, and nrandUL) by one universal routine, nrand(), that returns an unsigned long value and uses integer arithmetic (as in the old nrandU) if n is small enough, and otherwise uses double arithmetic (as in the old nrandUL).
  40. •Added LtoE, EToL, and LtoEOrdered to Luminance.c. LtoE returns the index of the table entry in the specified range with luminance closest to L.
  41. •Changed DateString.c to produce shorter strings by omitting the periods:  "890625015959" instead of "89.06.25.01.59.59".
  42. •Rewrote Shuffle.c to accept an arbitrary elementSize. (All calling programs will need to be changed, to add the new argument.)
  43. •Deleted MyFgets.c from Quick3.
  44. •Added CVNetConvert by Izumi Ozhawa to the Utilities folder.
  45. •Added IdentifyOwner to Identify.c.
  46. •Added MacMemory.h and MacMemory.c which, if included in your project, redefine the Standard C memory management calls (free,malloc,calloc,realloc) to use the Apple Memory Manager, bypassing Symantec THINK C's inefficient memory manager.
  47. •Enhanced Assign.c slightly. PrintAnAssignment now prints enough digits to maintain the precision specified in float.h. This resolves the somewhat spurious errors reported by UnequalDescribedVars when doing read-after-write checks. Fixed PrintQuotedString to correctly handle strings containing the double-quote character. Cosmetic enhancement of how /* comments */ are printed, for nicer word wrap.
  48. •Added RemovePalette(window) to GDOpenWindow.c, which complements the pre-existing AddExplicitPalette(window).
  49.  
  50. CHANGES DURING 2/94:
  51. •Enhanced VBLInstall.c in response to query by Mike Tarr; it now runs forever if frames==-1.
  52. •Enhanced StringBounds.c to also count the black pixels. An argument was added.
  53.  
  54. CHANGES DURING 1/94:
  55. •Enhanced MultipleChoice.c to keep accepting characters until they uniquely specify an answer.
  56. •Added routines to Mean.c to accept arrays of signed or unsigned char, short, or long. All the routines have been optimized for speed.
  57. •Added StringBounds.c, which computes the minimum bounding rectangle for all the pixels that would be set black by calling DrawString with the given pascal string, in the current port, font, size, and style. CharBounds() creates a one-char string and calls StringBounds().
  58. •Added PrintfGWorld.c, for debugging, which uses "printf" to print out the GWorld as a gross bitmap.
  59.  
  60. All earlier changes appear in the file VideoToolbox:"Changes 1990-3".